/*
 * @Description:
 * @Author: Richeneen
 * @Date: 2022-10-12 15:22:48
 * @LastEditTime: 2022-10-23 15:20:24
 * @LastEditors: Richeneen
 */
/*
 * @Description:
 * @Author: Richeneen
 * @Date: 2022-10-12 15:22:48
 * @LastEditTime: 2022-10-15 16:31:53
 * @LastEditors: Richeneen
 */
// 资讯栏目管理api
import { get, post } from '@/utils/request'
// 查询资讯栏目
export function queryCategory() {
  return get('/category/findAll')
}
// 更新/新增资讯栏目
export function updateOrAddCategory(params) {
  return post('/category/saveOrUpdate', params)
}
// 删资讯栏目
export function deleteCategory(params) {
  return get('/category/deleteById', params)
}
